package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.assembler;

import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.proxy.per.day.flow.*;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyProxyPerDayFlowDTO;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.proxy.per.day.flow.LazyProxyPerDayFlow;
import org.wu.framework.core.mapper.LazyStructMapper;
import org.wu.framework.core.mapper.LazyStructMappers;

/**
 * describe 每日统计代理流量
 *
 * @author Jia wei Wu
 * @date 2025/06/06 11:39 晚上
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyAssembler
 **/
@LazyStructMapper
public interface LazyProxyPerDayFlowDTOAssembler {


    /**
     * describe MapStruct 创建的代理对象
     *
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyPerDayFlowDTOAssembler INSTANCE = LazyStructMappers.getMapper(LazyProxyPerDayFlowDTOAssembler.class);

    /**
     * describe 应用层存储入参转换成 领域对象
     *
     * @param lazyProxyPerDayFlowStoryCommand 保存每日统计代理流量对象
     * @return {@link LazyProxyPerDayFlow} 每日统计代理流量领域对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyPerDayFlow toLazyProxyPerDayFlow(LazyProxyPerDayFlowStoryCommand lazyProxyPerDayFlowStoryCommand);

    /**
     * describe 应用层更新入参转换成 领域对象
     *
     * @param lazyProxyPerDayFlowUpdateCommand 更新每日统计代理流量对象
     * @return {@link LazyProxyPerDayFlow} 每日统计代理流量领域对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyPerDayFlow toLazyProxyPerDayFlow(LazyProxyPerDayFlowUpdateCommand lazyProxyPerDayFlowUpdateCommand);

    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param lazyProxyPerDayFlowQueryOneCommand 查询单个每日统计代理流量对象参数
     * @return {@link LazyProxyPerDayFlow} 每日统计代理流量领域对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyPerDayFlow toLazyProxyPerDayFlow(LazyProxyPerDayFlowQueryOneCommand lazyProxyPerDayFlowQueryOneCommand);

    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param lazyProxyPerDayFlowQueryListCommand 查询集合每日统计代理流量对象参数
     * @return {@link LazyProxyPerDayFlow} 每日统计代理流量领域对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyPerDayFlow toLazyProxyPerDayFlow(LazyProxyPerDayFlowQueryListCommand lazyProxyPerDayFlowQueryListCommand);

    /**
     * describe 应用层删除入参转换成 领域对象
     *
     * @param lazyProxyPerDayFlowRemoveCommand 删除每日统计代理流量对象参数
     * @return {@link LazyProxyPerDayFlow} 每日统计代理流量领域对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyPerDayFlow toLazyProxyPerDayFlow(LazyProxyPerDayFlowRemoveCommand lazyProxyPerDayFlowRemoveCommand);

    /**
     * describe 持久层领域对象转换成DTO对象
     *
     * @param lazyProxyPerDayFlow 每日统计代理流量领域对象
     * @return {@link LazyProxyPerDayFlowDTO} 每日统计代理流量DTO对象
     * @author Jia wei Wu
     * @date 2025/06/06 11:39 晚上
     **/
    LazyProxyPerDayFlowDTO fromLazyProxyPerDayFlow(LazyProxyPerDayFlow lazyProxyPerDayFlow);
}